{extend name="base"}
{block name="title"}后台管理-用户修改{/block}
{block name="main-title"}edituser{/block}
{block name="main"}
<div class="widget-header">
  <i class="icon-group"></i>
  <h5>修改信息</h5>
  <div class="widget-buttons">
    <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
  </div>
</div>
<form class="form-horizontal" action="{:url('doedituser')}">
  <div class="widget-body">
    <div class="widget-forms clearfix">
    
      <input type="hidden" name="uid" value=" {$user.uid}"/><br>

      <div class="control-group">
        <label class="control-label">用户名</label>
        <div class="controls">
          <input class="span7" disabled="" type="text" value="{$user.uname}">
        </div>
      </div>

      <div class="control-group">
        <label class="control-label">姓名</label>
        <div class="controls">
          <input class="span7" type="text" value="{$user.realname}" name="realname">
        </div>
      </div>

      <div class="control-group">
        <label class="control-label">电话</label>
        <div class="controls">
          <input class="span7" type="text" value="{$user.tele}" name="tele">
        </div>
      </div>

      <div class="control-group">
        <label class="control-label">邮箱</label>
        <div class="controls">
          <input class="span7" type="text" value="{$user.mail}" name="mail">
        </div>
      </div>

      <div class="control-group">
        <label class="control-label">所属部门</label>
          <div class="controls">
            <select class="span7" tabindex="1" name="rid">
              {volist name="roles" id="vo"}
              <option value="{$vo.rid}">{$vo.rolename}</option>
              {/volist}
            </select>
         </div>
      </div>      
    
    </div>
  </div>
  <div class="widget-footer">
    <input class="btn btn-primary" type="submit" value="修改">
    <a href="javascript:history.go(-1)"><button class="btn" type="button">取消</button></a>
  </div>
</form>
{/block}